package com.day01;

public class Student1 {
    private final int id;
    private final String name;
    private final String address;

    public static int getAge(){
        return Student1$.MODULE$.getAge();
    }

    public static String getGender(){
        return Student1$.MODULE$.getGender();
    }

    public static void setGender(String gender){
        Student1$.MODULE$.setGender(gender);
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    private String getAddress() {
        return address;
    }

    public Student1(final int id,final String name){
        this.id = id;
        this.name= name;
        this.address = "小清当时我没高兴去";
    }

}
